package com.chulianyuang.pojo.leave;

import java.util.Date;

public class Leave {
    private Integer id;
    private String creatorSn;
    private String nextDealSn;
    private Date createTime;
    private Date modifyTime;
    private Integer leaveDay;
    private String leaveType;
    private String reason;
    private String status;
    private String approveOpinion;

    // 关联字段（用于显示）
    private String createEmployeeName;
    private String nextDealEmployeeName;

    // 查询字段
    private Date startDate;
    private Date endDate;

    // getter和setter方法
    public Integer getId() { return id; }
    public void setId(Integer id) { this.id = id; }

    public String getCreatorSn() { return creatorSn; }
    public void setCreatorSn(String creatorSn) { this.creatorSn = creatorSn; }

    public String getNextDealSn() { return nextDealSn; }
    public void setNextDealSn(String nextDealSn) { this.nextDealSn = nextDealSn; }

    public Date getCreateTime() { return createTime; }
    public void setCreateTime(Date createTime) { this.createTime = createTime; }

    public Date getModifyTime() { return modifyTime; }
    public void setModifyTime(Date modifyTime) { this.modifyTime = modifyTime; }

    public Integer getLeaveDay() { return leaveDay; }
    public void setLeaveDay(Integer leaveDay) { this.leaveDay = leaveDay; }

    public String getLeaveType() { return leaveType; }
    public void setLeaveType(String leaveType) { this.leaveType = leaveType; }

    public String getReason() { return reason; }
    public void setReason(String reason) { this.reason = reason; }

    public String getStatus() { return status; }
    public void setStatus(String status) { this.status = status; }

    public String getApproveOpinion() { return approveOpinion; }
    public void setApproveOpinion(String approveOpinion) { this.approveOpinion = approveOpinion; }

    public String getCreateEmployeeName() { return createEmployeeName; }
    public void setCreateEmployeeName(String createEmployeeName) { this.createEmployeeName = createEmployeeName; }

    public String getNextDealEmployeeName() { return nextDealEmployeeName; }
    public void setNextDealEmployeeName(String nextDealEmployeeName) { this.nextDealEmployeeName = nextDealEmployeeName; }

    public Date getStartDate() { return startDate; }
    public void setStartDate(Date startDate) { this.startDate = startDate; }

    public Date getEndDate() { return endDate; }
    public void setEndDate(Date endDate) { this.endDate = endDate; }
}